#if XP_SIZEOF_WCHAR_T == SIZEOF_SHORT
        #define MAX_CHAR 0xFFFF
#else
        /*#define MAX_CHAR 0xE01EF*/
        #define MAX_CHAR 0x10FFFF
#endif

